package net.xdclass.constant;

/**
 * @Description:
 * @Author:xuezhen
 * @CreateDate:2021/4/8 21:48
 * @UpdateUser:
 * @UpdateDate:
 * @UpdateRemark:
 * @Version:v2.0
 */
public class CacheKey {

    /**
     * 注册验证码,第一个是类型,第二个是接收号码
     */
    public static final String CACHE_CODE_KEY = "code:%S:%S";

    /**
     * 购物车hash结构 key是用户唯一标识
     */
    public static final String CART_KEY = "cart:%S";

    /**
     * 提交表单的token key
     */
    public static final String SUBMIT_ORDER_TOKEN_KEY = "order:submit:%s";
}
